﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200104F RID: 4175
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournLineupInfo : IMessage<RogueTournLineupInfo>, IMessage, IEquatable<RogueTournLineupInfo>, IDeepCloneable<RogueTournLineupInfo>, IBufferMessage
	{
		// Token: 0x170034B5 RID: 13493
		// (get) Token: 0x0600BA84 RID: 47748 RVA: 0x001F6E99 File Offset: 0x001F5099
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournLineupInfo> Parser
		{
			get
			{
				return RogueTournLineupInfo._parser;
			}
		}

		// Token: 0x170034B6 RID: 13494
		// (get) Token: 0x0600BA85 RID: 47749 RVA: 0x001F6EA0 File Offset: 0x001F50A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournLineupInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170034B7 RID: 13495
		// (get) Token: 0x0600BA86 RID: 47750 RVA: 0x001F6EB2 File Offset: 0x001F50B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournLineupInfo.Descriptor;
			}
		}

		// Token: 0x0600BA87 RID: 47751 RVA: 0x001F6EB9 File Offset: 0x001F50B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournLineupInfo()
		{
		}

		// Token: 0x0600BA88 RID: 47752 RVA: 0x001F6ECC File Offset: 0x001F50CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournLineupInfo(RogueTournLineupInfo other) : this()
		{
			this.avatarIdList_ = other.avatarIdList_.Clone();
			this.rogueReviveCost_ = ((other.rogueReviveCost_ != null) ? other.rogueReviveCost_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600BA89 RID: 47753 RVA: 0x001F6F1D File Offset: 0x001F511D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournLineupInfo Clone()
		{
			return new RogueTournLineupInfo(this);
		}

		// Token: 0x170034B8 RID: 13496
		// (get) Token: 0x0600BA8A RID: 47754 RVA: 0x001F6F25 File Offset: 0x001F5125
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> AvatarIdList
		{
			get
			{
				return this.avatarIdList_;
			}
		}

		// Token: 0x170034B9 RID: 13497
		// (get) Token: 0x0600BA8B RID: 47755 RVA: 0x001F6F2D File Offset: 0x001F512D
		// (set) Token: 0x0600BA8C RID: 47756 RVA: 0x001F6F35 File Offset: 0x001F5135
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemCostData RogueReviveCost
		{
			get
			{
				return this.rogueReviveCost_;
			}
			set
			{
				this.rogueReviveCost_ = value;
			}
		}

		// Token: 0x0600BA8D RID: 47757 RVA: 0x001F6F3E File Offset: 0x001F513E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournLineupInfo);
		}

		// Token: 0x0600BA8E RID: 47758 RVA: 0x001F6F4C File Offset: 0x001F514C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournLineupInfo other)
		{
			return other != null && (other == this || (this.avatarIdList_.Equals(other.avatarIdList_) && object.Equals(this.RogueReviveCost, other.RogueReviveCost) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600BA8F RID: 47759 RVA: 0x001F6FA0 File Offset: 0x001F51A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.avatarIdList_.GetHashCode();
			if (this.rogueReviveCost_ != null)
			{
				num ^= this.RogueReviveCost.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600BA90 RID: 47760 RVA: 0x001F6FEA File Offset: 0x001F51EA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600BA91 RID: 47761 RVA: 0x001F6FF2 File Offset: 0x001F51F2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600BA92 RID: 47762 RVA: 0x001F6FFC File Offset: 0x001F51FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueReviveCost_ != null)
			{
				output.WriteRawTag(42);
				output.WriteMessage(this.RogueReviveCost);
			}
			this.avatarIdList_.WriteTo(ref output, RogueTournLineupInfo._repeated_avatarIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600BA93 RID: 47763 RVA: 0x001F704C File Offset: 0x001F524C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.avatarIdList_.CalculateSize(RogueTournLineupInfo._repeated_avatarIdList_codec);
			if (this.rogueReviveCost_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueReviveCost);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600BA94 RID: 47764 RVA: 0x001F70A0 File Offset: 0x001F52A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournLineupInfo other)
		{
			if (other == null)
			{
				return;
			}
			this.avatarIdList_.Add(other.avatarIdList_);
			if (other.rogueReviveCost_ != null)
			{
				if (this.rogueReviveCost_ == null)
				{
					this.RogueReviveCost = new ItemCostData();
				}
				this.RogueReviveCost.MergeFrom(other.RogueReviveCost);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600BA95 RID: 47765 RVA: 0x001F7105 File Offset: 0x001F5305
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600BA96 RID: 47766 RVA: 0x001F7110 File Offset: 0x001F5310
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 42U)
				{
					if (num != 112U && num != 114U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.avatarIdList_.AddEntriesFrom(ref input, RogueTournLineupInfo._repeated_avatarIdList_codec);
					}
				}
				else
				{
					if (this.rogueReviveCost_ == null)
					{
						this.RogueReviveCost = new ItemCostData();
					}
					input.ReadMessage(this.RogueReviveCost);
				}
			}
		}

		// Token: 0x04004B32 RID: 19250
		private static readonly MessageParser<RogueTournLineupInfo> _parser = new MessageParser<RogueTournLineupInfo>(() => new RogueTournLineupInfo());

		// Token: 0x04004B33 RID: 19251
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004B34 RID: 19252
		public const int AvatarIdListFieldNumber = 14;

		// Token: 0x04004B35 RID: 19253
		private static readonly FieldCodec<uint> _repeated_avatarIdList_codec = FieldCodec.ForUInt32(114U);

		// Token: 0x04004B36 RID: 19254
		private readonly RepeatedField<uint> avatarIdList_ = new RepeatedField<uint>();

		// Token: 0x04004B37 RID: 19255
		public const int RogueReviveCostFieldNumber = 5;

		// Token: 0x04004B38 RID: 19256
		private ItemCostData rogueReviveCost_;
	}
}
